<template>
  <div class="top">
    <div class="logo">
      <div class="logoImg"><img src="../assets/logo.png" alt="" /></div>
      <span>智慧水务</span>
    </div>
    <div class="title">
      <p>水务综合处理平台</p>
    </div>
		<div class="avaOut">
			<div class="avatar">
				<img src="../assets/logo.png" alt="" />
			</div>
		</div>
  </div>
</template>

<script>
export default {
  name: "MyHeader",
};
</script>

<style scoped>
.top {
	height: 80px;
	display: flex;
	background-image: linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0), rgba(255,255,255,0));
	color: white;
}
.logo {
  	display: flex;
	margin-left: 30px;
	margin-top: 20px;
	width: 200px;
}
.logoImg {
	width: 40px;
	height: 40px;
	margin-right: 20px;
}
.logoImg img{
	height: 100%;
	width: 100%;
}
.logo span{
	display: block;
	height: 40px;
	line-height: 40px;
}
.title{
	width: 85%;
	margin-top: 14px;
	text-align: center;
}
.avaOut{
	margin-top: 20px;
	width: 40px;
	height: 40px;
	/* background-color: aqua; */
	border-radius: 50%;
}

.avatar{
	margin: 1px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	/* background-color: red; */
	overflow: hidden;
	border: 2px;
}
.avatar img{
	height: 100%;
	width: 100%;
}
</style>